package impl

import org.springframework.beans.factory.config.BeanPostProcessor

/**
 * Created by futao on 2017/10/9.
 */
/**
 * Bean后处理器
 */
class BeanBackHandleMachine:BeanPostProcessor {
    override fun postProcessBeforeInitialization(p0: Any?, p1: String?): Any {
        println("Step5:执行Bean后处理器-Before")
        return p0!!
    }

    override fun postProcessAfterInitialization(p0: Any?, p1: String?): Any {
        println("Step8:执行Bean后处理器-After")
        return p0!!
    }
}